

import java.math.BigDecimal;
import java.math.RoundingMode;

import orm.Exchange;
import orm.ExchangeDAO;

public class ExchangeRateDiff {
	private Exchange exchange;
	private BigDecimal value;
	
	public Exchange getCurrency() {
		return exchange;
	}
	
	public void setCurrency(ExchangeDAO curr) {
		this.exchange = curr;
	}
	
	public BigDecimal getValue() {
		return value;
	}
	
	public void setValue(BigDecimal value) {
		this.value = value.setScale(3, RoundingMode.HALF_DOWN);
	}

}
